package com.xjj.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xjj.entity.Manager;
import com.xjj.entity.PageBean;
import com.xjj.entity.School;
import com.xjj.entity.Student;

import java.util.List;

/**
 * @author sxy
 * @version 1.0
 * @date 2022/10/20 14:11
 */
public interface StudentService extends IService<Student> {
    public Page<Student> getStudent(Integer current);

    void updateStudentById(Student student);

    PageBean<Student> getByPage(Student student, Integer pageNum, Integer pageSize);

    List<Student> getAllStudentsByKlassId(int klassId);

    List<Student> getByTel(String tel);

    void updateByCondition(Student student);

    void addSubmitNumById(int id);

    void decreaseSubmitNumById(int id);

    List<Student> getAllStudentsByKlassId1(int klassId);

    School getSchoolBySchoolId(int schoolId);
    List<Student> findAllStudent();

    List<Student> getByCondition(Student student);
}
